Optimal. Leaf size=34 \[ \frac {A \log (x)}{a}-\frac {(A b-a B) \log \left (a+b x^3\right )}{3 a b} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {446, 72} \begin {gather*} \frac {A \log (x)}{a}-\frac {(A b-a B) \log \left (a+b x^3\right )}{3 a b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 72
Rule 446
Rubi steps
\begin {align*} \int \frac {A+B x^3}{x \left (a+b x^3\right )} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {A+B x}{x (a+b x)} \, dx,x,x^3\right )\\ &=\frac {1}{3} \operatorname {Subst}\left (\int \left (\frac {A}{a x}+\frac {-A b+a B}{a (a+b x)}\right ) \, dx,x,x^3\right )\\ &=\frac {A \log (x)}{a}-\frac {(A b-a B) \log \left (a+b x^3\right )}{3 a b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 34, normalized size = 1.00 \begin {gather*} \frac {(a B-A b) \log \left (a+b x^3\right )}{3 a b}+\frac {A \log (x)}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A+B x^3}{x \left (a+b x^3\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.48, size = 32, normalized size = 0.94 \begin {gather*} \frac {3 \, A b \log \relax (x) + {\left (B a - A b\right )} \log \left (b x^{3} + a\right )}{3 \, a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 34, normalized size = 1.00 \begin {gather*} \frac {A \log \left ({\left | x \right |}\right )}{a} + \frac {{\left (B a - A b\right )} \log \left ({\left | b x^{3} + a \right |}\right )}{3 \, a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 37, normalized size = 1.09 \begin {gather*} \frac {A \ln \relax (x )}{a}-\frac {A \ln \left (b \,x^{3}+a \right )}{3 a}+\frac {B \ln \left (b \,x^{3}+a \right )}{3 b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.59, size = 35, normalized size = 1.03 \begin {gather*} \frac {A \log \left (x^{3}\right )}{3 \, a} + \frac {{\left (B a - A b\right )} \log \left (b x^{3} + a\right )}{3 \, a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.10, size = 36, normalized size = 1.06 \begin {gather*} \frac {B\,\ln \left (b\,x^3+a\right )}{3\,b}-\frac {A\,\ln \left (b\,x^3+a\right )}{3\,a}+\frac {A\,\ln \relax (x)}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.12, size = 26, normalized size = 0.76 \begin {gather*} \frac {A \log {\relax (x )}}{a} + \frac {\left (- A b + B a\right ) \log {\left (\frac {a}{b} + x^{3} \right )}}{3 a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________